package com.neu.yth.nepBackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 角色表格
 * </p>
 *
 * @author YTH
 * @since 2024-05-31
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@TableName("role")
@ApiModel(value = "Role对象", description = "角色表格")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色id")
    @TableId(value = "role_id",type = IdType.AUTO)
    private Integer roleId;

    @ApiModelProperty("角色 ")
    @TableField("role_name")
    private String roleName;

    @ApiModelProperty("备注")
    @TableField("remarks")
    private String remarks;
}
